package com.quickd.service.dto.wms;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.quickd.core.dto.BaseDto;
import lombok.Data;
import cn.afterturn.easypoi.excel.annotation.Excel;
import java.util.Date;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.quickd.core.validator.group.AddGroup;
import com.quickd.core.validator.group.DefaultGroup;
import com.quickd.core.validator.group.UpdateGroup;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.quickd.core.annotation.DictAno;
/**
 * 仓库
 *
 * @author quickd quickd@dacanginfo.com
 * @since 2019-10-11
 */
@Data
@ApiModel(value = "仓库")
public class StorageDTO extends BaseDto {
        
         @ApiModelProperty(value = "仓库代码" )
            @Excel(name = "仓库代码")
            private String code;
        
         @ApiModelProperty(value = "仓库名称" )
            @Excel(name = "仓库名称")
            private String name;
        
         @ApiModelProperty(value = "仓库类型" )
            @DictAno(dicCode = "store_type")
        @Excel(name = "仓库类型")
            private Integer type;
        
         @ApiModelProperty(value = "所属部门" )
            @Excel(name = "所属部门")
            private String sysOrgCode;
        
         @ApiModelProperty(value = "联系人" )
            @Excel(name = "联系人")
            private String contactUser;
        
         @ApiModelProperty(value = "联系方式" )
            @Excel(name = "联系方式")
            private String contactNumber;
        
         @ApiModelProperty(value = "储存温度" )
            @Excel(name = "储存温度")
            private Integer temperature;
        
         @ApiModelProperty(value = "仓库属性" )
            @Excel(name = "仓库属性")
            private String attr;
        
         @ApiModelProperty(value = "面积(平方米)" )
            @Excel(name = "面积(平方米)")
            private BigDecimal area;
        
         @ApiModelProperty(value = "状态" )
            @Excel(name = "状态")
            private Integer status;
        
         @ApiModelProperty(value = "仓库LOGO" )
            @Excel(name = "仓库LOGO")
            private String logo;
        
         @ApiModelProperty(value = "地址" )
            @Excel(name = "地址")
            private String address;
        
         @ApiModelProperty(value = "经纬度" )
            @Excel(name = "经纬度")
            private String lnglat;
            
         @ApiModelProperty(value = "租户id" )
            @Excel(name = "租户id")
            private String tenantId;
    }